package com.zyw.mvc.exception;

/**
 * 系统默认抽象异常类
 *
 * @author huoli_zhangyw
 * @ClassName DefaultException
 * @Description
 * @date 16/9/6 16:18
 */
public abstract class AbstractDefaultException extends Exception {

    public abstract Integer getCode();

    public AbstractDefaultException() {
    }

    public AbstractDefaultException(String message) {
        super(message);
    }

    public AbstractDefaultException(String message, Throwable cause) {
        super(message, cause);
    }

    public AbstractDefaultException(Throwable cause) {
        super(cause);
    }

    public AbstractDefaultException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
